package bookstudytest.proxy.intercepter;

import jdk.proxy.Hello;
import jdk.proxy.HelloImp;

/**
 * @author: Lee
 * @Date: 2019/3/8 0008 15:12
 * @Description:
 */
public class IntercepterJdkTest {
    public static void main(String[] args) {
        Hello hello = (Hello) IntercepterJdkDemo.bind(new HelloImp(), "intercepter.IntercepterByJdkImpl");
        hello.say();
    }
}
